package com.atguigu.strategy;

public abstract class Duck {
	
	public Duck() {
	}
	
	public void quack() {
		System.out.println("鸭子叫");
	}
	
	public void swim() {
		System.out.println("鸭子游泳");
	}
	
	public void fly() {
		System.out.println("鸭子飞");
	}
	
	public abstract void display();
}
